Fix interpretation of $XDG_* variables, fixes #9

And remember: always read the spec carefully :-)