Fix creating .xprivacy folder, refs #140