fixed bug in escaping during COPY INTO