A label called '\' would break GraphViz

Graphiz cannot deal with slashes without escaping them. This fix will
add escaping when the string contains a '\'.