escape string while exporting to csv