fix is_compressed and add base_name
bugfix zlib compression
finished tests on windows