fix bug in string_to_tokens in handling of quotes