This is an output stream which when finished will write to the scratch pad via an entire transaction.