making the ordering of the arguments of igraph::write_* methods consistent