Do not append endln on cgroup write.

Minor update to remove the endln appending to cgroup writes. This
causes issues in later kernels, I uncovered it in rawhide.

Review: https://reviews.apache.org/r/22979