OFStream: Add support for async writes