Use glib to get config dir

Drops requirement of python-xdg