Use long type for GEXF with Python2 long or Python3 int.

GEXF has a "long" integer type.  Use that for Python2 longs and the standard Python3 int.

Addresses #940