[libvirt] [PATCH 7/9] vircgroupmock: rewrite cgroup fopen mocking