Force stricter type checking

There are multiple formats with the .msr extension, so suffix checking
is not sufficient.