Fixes an issue fields are not being escaped in doExport().
Merge pull request #80 from rubyu/fix-text-exporter

Fixes an issue fields are not being escaped in doExport().