Resolved home dir on Windows.

This fixes a bug on Windows which someone uncovered. If you'd like you can give me write access to the project and then I don't have to bother you with small fixes.