add PutBlockWithSize for streams with size known in advance