Remove dashes from class names when guessing names from filesystem.