process.getuid doesn't always exist (fixes #41)