use stream.pipe for tar creation

I just changed a line of code to get better streaming of the tar file.