move require to top of _stream_writable.js