Use six.moves cStringIO instead of cStringIO

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

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