Service log file directoy construction fix

Convert ')' and '(' to empty strings when constructing a service's log
file directory.