Allow sending binary data through `write`
Merge pull request #16 from shashi/master

Allow sending binary data through `write`