Fixed urlencoding for base64 image hashes in S3.