Just clicking save at the template editor (without making any changes) removes instantly the \. That seems to be the problem. So I edited the file directly from cPanel and managed to save the \ back to its place. So I will have to be editing the files directly to not mess \ again.