Allow buffer passed to #write()

Fix #2
allow reading Buffers