Fine tune opening files
If we're going to set triedMimeFromFileContent to true we need to actually try the contents and not the extension.
This is a KF5 porting mistake