Fix bugs in zero_copy_stream_impl.

Patch from Frank Chu.

2 files changed