using scoped_ptr to outputstream in Journal