Pyhton 3 compatibility (use print as function, import Image from PIL)
Surround EXIF data extraction with try-catch to prevent abortion on invalid image data