Escape backslashes in expected output