Add fallback to /tmp if XDG_RUNTIME_DIR isn't set