Use the StringRef version of identifyFileType.