use stream.pipe for tar creation