minor cleanup of unused functions
Cleanup dumps; all writing and error handling done by dumps itself