deflate no longer relies on BinaryStd classes to read and write headers
fixed deflate; correctly reads length of original file and decompressed