capitalize race names in write_races()