use tar-pack with streams, fix failing tests