Invalid content after updating empty password-protected archive.
Workaround: Instead of creating an empty archive, add a dummy file to it that can be removed later.