Handle escaped quotes inside strings.

In MATLAB, to include a single quote inside a string, the quote needs to
be escaped with another single quote, e.g. x = 'It''s'.