Removed some gotos and redundant code paths
Rename protected variable to is_protected
Use zlib instead of fork/exec gzip executable

    * Now all disk images are saved gzipped
Support .do disk image extensions
Various interface/error handling improvements
separate actual inflate/deflate from wrappers
Gracefully handle zlib errors