fix S3Client.putObject calls