Properly escape backslashes

We were not escaping them at all before!