escape table data

Invalid sql is generated if table data contains text with double quotes ("). Escaping data before export prevents this.