GML export: escape " and \ characters in node name

To have quotes and backslashes in node names, these characters have to
be escaped. Thanks to Bruno Afonso for noticing this bug.

This fixes #616.