Turn some strings to raw strings to fix errors raised by the Python 3.12 interpreter on invalid escape sequences.