ExportTable: fix failure of translating \n and \t and simplified