<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _write_gml(G, path):
 """ Wrapper around nx.write_gml """

    import networkx as nx
    return nx.write_gml(G, path, stringizer=str)