sort_file: fixup to deal with incremental update sort files