PM-1332 cannot use cStringIO since job stdout can have unicode characters.  cStringIO only supports ASCII. We use StringIO module instead. Also only rely on it, when we find a marker to look for in the task output
PM-1332 cannot use cStringIO since job stdout can have unicode
characters.  cStringIO only supports ASCII. We use StringIO module
instead. Also only rely on it, when we find a marker to look for in
the task output

pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus