Fixing an issue with signing certain Amazon S3 metadata