Fix a number of issues with having a space in $HOME

This makes it possible to use my etc configuration under Windows and Git
Bash.