Improved text escaping on CSV generator