[CLEANUP] Escape all backslashes in strings

By convention, all backslashes in strings (both single-quoted and
double-quoted) should be escaped by another backslash unless the backslash
is explicitly used for escaping a character for PHP.