Honour $XDG_DATA_HOME for &directory setting

'~/.local/share' is only the fallback location for data files, see
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html