for completeness, let graphio.write() accept an optional dict of graph-level attributes too