Strip spaces from class names in stars report

This is a workaround for a bug where class names could have spaces in
them.