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