Use linked list for file collection, fixes segfault when archiving more than 1024 files