Download data as xls or csv file.