wb_stream_reader cleanup
wb_stream_writer: Loop over complete buffer