If we see cmd.run, try to properly quote the arguments before shipping them to the target. Refs #7928.