Support writing binary buffers without stringification