Use CSV#generate to generate CSV: