send content length with s3 stream