Fixed a bug for filenames with a single double quote.