MDL-53467 repositories: Upgrade s3 to v0.5.1