improve handling of newlines when preceeded by escaped quotes.