Possible fix for truncated done.txt with auto archive