Fix multiple escape characters in reader.