Outputs cleaned name to csv.