Fix class file extension.