write_csv_line doesn't have to be a prototype