Make S3 image check fix Content-Type headers #352