Adapters that go the other way, to java.io.

These ones are slightly more awkward because they need to do
their own internal buffering.
Merge pull request #496 from square/jwilson_0130_adapters

Adapters that go the other way, to java.io.