[fix] Ensure that `npm_config_node-version` is set properly.
[refactor] Dont use `void`.
[fix] Handle errors from `fstream`, `Tar` and `zlib`.