Fixed bug with closing streams in S3BlobStore.