Fixing the formatter of the graph file to import properly into python's
igraph.