Fix s3 signature by sorting x-amz headers by their keys

To create the signature, headers need to be sorted by their keys, not key:value
See https://github.com/aws/aws-sdk-js/blob/master/lib/signers/s3.js#L82