Add support for writing a string directly to s3

Simple extension to avoid having to create temporary files when content is generated in code