Allow uploader.upload_image to work on raw files