use `xdg-basedir`

https://github.com/sindresorhus/xdg-basedir
Merge pull request #6 from sindresorhus/xdg-basedir

use `xdg-basedir`