Convert the lists of FILs and HUNKs to doubly-linked lists.