fix dumprestore3.js and exit code-related failures