Fix pylint anomalous-backslash-in-string warnings

Also, avoid having to escape " in strings by delimiting it with '
instead.