Update render_excel to use csv_writer for .csv.