R: make igraph work with graphs in the old format.

The on-the-fly conversion is quite costly, though.