replace implementation of tar with tar-stream to avoid duplication of efforts.