Added error checking in exif->stop()