Fix mime type when saving images (was image/jpg, no image/jpeg)