cgroup: fix cgroup_path() vs rename() race