Fixes https://github.com/fluent/fluent-plugin-s3/issues/48