Use six.moves cStringIO instead of cStringIO

to keep Python 3.x compatibility, use six.moves.cStringIO to
replace StringIO

Change-Id: Ib6dcd06ca8c9342d26f3b7b738c99d23433d7f30
Closes-Bug: #1280964
Merge "Use six.moves cStringIO instead of cStringIO"