Use mimetype, not extension to idenify the type of recent files
This will avoid trying to load files with the wrong extension as tiff or kra, when they aren't.