Fix backup NDF
This MR restructures managedTarSiaFiles
to only write the header of a file to the archive if the remaining file is available too. That way we shouldn't end up with missing writes if we fail to grab one of the files for some reason.
It also updates the header's Size
field before adding a file to the tar archive while holding a lock. This should fix the NDF we've experienced.
Edited by Christopher Schinnerl