Fix duplicate directory entry in zip archives