don't assume bulk file is a StringIO
Merge pull request #85 from dimagi/cz

don't assume bulk file is a StringIO