fix sha1 generation after zip close