fix image uploads on s3/imgur
Merge pull request #956 from ZogStriP/fix-image-upload-to-s3

fix image uploads on s3/imgur