Create xdg directory before trying to use it