Use tar context manager