Use six.moves cStringIO instead of cStringIO

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

Change-Id: I68fed25f7d83f4413e2ecba20bf53a8825ce6b7e
Closes-Bug: #1280964