Fix bug where headers were presigned incorrectly.

For Sigv4 urls, custom metadata headers were not being presigned correctly.
Merge pull request #2604 from kyleknap/bjs-s3

Fix bug where sigv4 custom metadata headers were presigned incorrectly.