(Core) Fix generated CSV files.