Fix a last-minute bug in the checking of the EXIF byte-order header The check should fail if the EXIF byte-order header doesn't start with a correct character, or if the two heading characters aren't identical. Rewrite the check to make the code logic easier to follow.