Moved the flist_ndx_{push,pop}() routines from io.c into util.c.