Rewrote BytesStreamOutput on top of BigArrays. Fixed callers in
FsTranslog and BlobStoreRepository to not rely on impl. details and be
more efficient.

Fixes #5159