OutputStreamAthenaPool: Extend provenance record for temporary outputs
This was part of !73463 (merged) a while back. However, the provenance record shouldn't be extended if the input is temporary not the output. Reverting this behavior.
cc: @gemmeren
Edited by Alaettin Serhan Mete