SubgraphExporter: escape backslashes. Fixes #2183.
Merge pull request #2187 from jotomo/2183

SubgraphExporter: escape backslashes. Fixes #2183.