Fixed a quoting bug of special characters in S3.

Review please? @danielgtaylor