Use a stringstream-backed OutputStream for capnproto serialization