This is a small patch to remove a defer statement found in a for loop. It instead closes the file after it is done copying the bytes from the tar file reader.