Allow writing to any IO stream, not just AsyncStream.
Merge pull request #24 from JuliaLang/dcj/io

Allow writing to any IO stream, not just AsyncStream.