Minor optimizations and corrections in 7z.