Escape shell command before execution