simple implementation to access the Exif segment in the JPEG file