Escape parentheses
Escape '(' and ')'; added code for set_command escaping -- see comment