Curb Performance: Use an array of strings instead of a StringIO object.
Merge pull request #285 from bpot/bp/perf_improvment_for_curb_handler

Curb Performance: Use an array of strings instead of a StringIO object.