Fixes #110 - use node-exit instead of process.exit, as script output is truncated when pipe-directing stdout or stderr