Replace ByteOutputStream

Import
https://github.com/bluelectric/BlockServer/commit/a1f3c8edcded503469e0a420cd3c236365d02c0f