In escapeQuotes(), escape backslashes after escaping quotes.