Properly handle quoted strings in command parser.