lib: compatibility fix for old-style v0.8 streams

stream.Stream is a duplex stream in v0.9, i.e. it's both readable and
writable by default.

In v0.8, it's neither. Set the writable property to true, otherwise we
never get 'data' events.

Fixes #55.