Fix quote strings and always pass char* to parser.

Unfortunately, the refactor reveals that the lifetime of strings passed
to the parser is much too short.  We need to deal with this.