Fix #1: Set user home in a cross-platform way.

Windows uses `process.env.USERPROFILE` instead of `process.env.HOME`.