Add S3 retry

This adds configurable retry for S3.  It defaults to no retry, so nothing should change for existing users.