Python Add Backslash To String In R