Make s3 key buffer size configurable.
Merge pull request #1506 from jterrace/configurable-bufsize

Make s3 key buffer size configurable.