Fix unterminated string crash.