Make S3Target respect format
Merge pull request #401 from tommyengstrom/S3Target-format-fix

Make S3Target respect format