Don't throw errors when file path  given to exif_imagetype is empty.
Merge branch 'master' into gh-pages