Fix for home path on Windows. Use exising functionality in standard library to get home path instead of relying on environment variables.