Strip whitespace of genre strings.