Corrected ungzip/undeflate functionality.