Fixed S3 stream wrapper