updates resume file after downloading a piece.