Fix compressed archive generation