Export CSV : using csv package and cStringIO instead of StringIO #340