Fix homedir for Windows.

Windows looks to be working otherwise.