Add export_cells method to write cells as CSV files.