Fixed up EXIF removal code

Thanks @bakape