Fix withAwsConfiguration invocation parameter ordering.
Add content length to object metadata in S3Helpers.

This suppresses an AWS warning about reading a whole
stream into memory, which isn’t a huge concern, but gets a bit
noisy.