Closing tar file