cmdmod: fix W1401 (Anomalous backslash in string) problems
Merge pull request #5709 from cvrebert/patch-2

cmdmod: fix W1401 (Anomalous backslash in string) problems