Use XDG_CONFIG_HOME if available.

Fixes #448.