Simplify code by using try! and IoResult.
Properly handle BCFZ decompression.