Fix gitignore for class files