Use six.moves cStringIO instead of cStringIO

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

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