Enforce image files can be used with ImageFile
Enforce image files can be used with ImageFile

Make sure only image files are being used with ImageFile class.
This contradicts $checkPath = false, but it's left there for compatibility
reasons.

snpy/AvalancheImagineBundle,jmcclell/AvalancheImagineBundle