Escape some variables used in mwexec() calls