add docs to xdg.py
refs #618