cgroup.py: improved start time by replacing call of cgset with built-in function