cgroup: convert "tasks" and "cgroup.procs" handle to use cftype->write()