Fix backslashes and newlines