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

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