thdat: Modify archiving code for th105 compatibility

The entry list comes first in th105 archive, so entry names are needed before initializing an archive.