Refactored receive-pack durability code. Switched it to be fully file based instead of DB based to allow easier analysis after failure