Export list as CSV. Change original as_csv to as_csv_file used for sending list and use as_csv for downloading list