Allow sending binary data through `write`