Add quotes to a variable, avoiding potential issues.