Changes process.umask type to not error out if incorrect.
Corrects tests that differ depending on Node version.
travisplexer: pr-544-linux travis ci test