fix dot output (unescaped labels)