Unallocated handling and fixes
Use the passed-in stringstreams and keep track of data that's been output with dumpfiles