Do not use the same temp file in different tests
Do not use the same temp file in different tests

It causes unexpected results when running tests in parallel.
Ref: https://buildkite.com/rails/rails/builds/62610#0165f6d9-b9c8-4948-9319-07b58bfbfd4f/989-998

gauravtiwari/rails,Envek/rails,yahonda/rails,joonyou/rails,starknx/rails,lcreid/rails,notapatch/rails,kmcphillips/rails,yawboakye/rails,iainbeeston/rails,joonyou/rails,palkan/rails,betesh/rails,mechanicles/rails,eileencodes/rails,Vasfed/rails,tgxworld/rails,Stellenticket/rails,MSP-Greg/rails,lcreid/rails,Erol/rails,yalab/rails,kddeisz/rails,bogdanvlviv/rails,yawboakye/rails,BlakeWilliams/rails,Vasfed/rails,georgeclaghorn/rails,kddeisz/rails,tjschuck/rails,mechanicles/rails,yhirano55/rails,notapatch/rails,MSP-Greg/rails,Erol/rails,tjschuck/rails,vipulnsward/rails,jeremy/rails,schuetzm/rails,starknx/rails,Edouard-chin/rails,EmmaB/rails-1,EmmaB/rails-1,Stellenticket/rails,MSP-Greg/rails,yhirano55/rails,eileencodes/rails,palkan/rails,joonyou/rails,esparta/rails,gauravtiwari/rails,vipulnsward/rails,esparta/rails,tgxworld/rails,lcreid/rails,joonyou/rails,Edouard-chin/rails,shioyama/rails,jeremy/rails,arunagw/rails,schuetzm/rails,fabianoleittes/rails,yahonda/rails,georgeclaghorn/rails,yhirano55/rails,repinel/rails,rails/rails,Envek/rails,prathamesh-sonpatki/rails,bogdanvlviv/rails,arunagw/rails,schuetzm/rails,bogdanvlviv/rails,iainbeeston/rails,notapatch/rails,rails/rails,tgxworld/rails,Vasfed/rails,kddeisz/rails,rails/rails,Erol/rails,Stellenticket/rails,prathamesh-sonpatki/rails,rafaelfranca/omg-rails,MSP-Greg/rails,betesh/rails,shioyama/rails,EmmaB/rails-1,Edouard-chin/rails,vipulnsward/rails,yahonda/rails,BlakeWilliams/rails,prathamesh-sonpatki/rails,yawboakye/rails,georgeclaghorn/rails,BlakeWilliams/rails,repinel/rails,Vasfed/rails,eileencodes/rails,Envek/rails,yalab/rails,vipulnsward/rails,tjschuck/rails,kmcphillips/rails,arunagw/rails,yawboakye/rails,palkan/rails,repinel/rails,iainbeeston/rails,lcreid/rails,mechanicles/rails,yalab/rails,repinel/rails,shioyama/rails,notapatch/rails,prathamesh-sonpatki/rails,fabianoleittes/rails,arunagw/rails,starknx/rails,jeremy/rails,kmcphillips/rails,fabianoleittes/rails,iainbeeston/rails,rails/rails,yalab/rails,fabianoleittes/rails,bogdanvlviv/rails,betesh/rails,betesh/rails,rafaelfranca/omg-rails,esparta/rails,BlakeWilliams/rails,eileencodes/rails,rafaelfranca/omg-rails,Envek/rails,georgeclaghorn/rails,tjschuck/rails,yhirano55/rails,kmcphillips/rails,schuetzm/rails,tgxworld/rails,palkan/rails,Stellenticket/rails,gauravtiwari/rails,kddeisz/rails,Erol/rails,Edouard-chin/rails,mechanicles/rails,esparta/rails,yahonda/rails,shioyama/rails,jeremy/rails