[s3] Compatibility with fakes3.

See https://github.com/ansible/ansible/issues/5685