replaced SplFileInfo, also added check if image supports exif before trying to collect exif data.
replaced SplFileInfo, also added check if image supports exif before trying to collect exif data.

johannilsson/yag