Fix escaping of path names containing a quote.