Clean up error handling, we have to translate Helium errors into WiredTiger
errors before we return.

Rework the dump routine, it had random garbage left over from old debugging
runs.