Freedesktop defines some commonly, but certainly-not-universally used
directories for configuration (rather than using $HOME/.file, it's generally,
$XDG_CONFIG_HOME/appname/file). This is a very rough first draft of using
those names if XDG_DIRECTORIES is defined.