Add support to writing exports to s3 bucket with optional prefixing