tar: refactor code to be more testable

Split reading/parsing tar file and writing results to the disk in two
separate steps. So we can later test parsing part without need to write
everyting to the disk.
ff8544daa5Igor Anić committed on 1/14/2024, 2:37:33 AM· committed by Andrew Kelleyparent7916cf6
1 file changedLine totals unavailable