Slave output capture in the CGroups Isolate.

Adapt the slave output capture logic from the Process Isolate.