Don't scan the whole file for a BOM

That's rather pointless if we only want to check the first character anyway