use six.move for cStringIO
Merge pull request #2393 from davidovitch/use_stringIO_from_six

use six.move for cStringIO