Detect compressed archives.
Change some of the error handling to exceptions.
This raises the minimum PHP version 5.1 and has us require the SPL extension.