[tor-commits] [onionperf/master] Work around Networkx's API change.