Fall back to open/write when atomic_write fails
Fall back to open/write when atomic_write fails

Fixes Homebrew/homebrew#28190.

zmwangx/brew,JCount/brew,muellermartin/dist,amar-laksh/brew_sudo,mahori/brew,vitorgalvao/brew,bfontaine/brew,jmsundar/brew,mistydemeo/homebrew,gregory-nisbet/brew,aw1621107/brew,AnastasiaSulyagina/brew,hanxue/linuxbrew,konqui/brew,mgrimes/brew,gordonmcshane/homebrew,EricFromCanada/brew,MikeMcQuaid/brew,staticfloat/brew,toonetown/homebrew,sjackman/homebrew,zmwangx/brew,bfontaine/brew,pseudocody/brew,konqui/brew,Linuxbrew/brew,Linuxbrew/brew,reelsense/brew,ilovezfs/brew,zmwangx/brew,pseudocody/brew,maxim-belkin/brew,JCount/brew,JCount/brew,JCount/brew,konqui/brew,palxex/brew,Linuxbrew/brew,AnastasiaSulyagina/brew,tonyg/homebrew,jmsundar/brew,gregory-nisbet/brew,DomT4/brew,Homebrew/brew,mistydemeo/homebrew,mistydemeo/homebrew,claui/brew,reitermarkus/brew,muellermartin/dist,bfontaine/brew,mahori/brew,alyssais/brew,Linuxbrew/brew,reelsense/brew,MikeMcQuaid/brew,pseudocody/brew,tonyg/homebrew,ilovezfs/brew,DomT4/brew,staticfloat/brew,Homebrew/brew,reitermarkus/brew,nandub/brew,nandub/brew,mahori/brew,rwhogg/brew,vitorgalvao/brew,hanxue/linuxbrew,claui/brew,toonetown/homebrew,sjackman/homebrew,vitorgalvao/brew,Homebrew/brew,aw1621107/brew,palxex/brew,staticfloat/brew,jmsundar/brew,mgrimes/brew,vitorgalvao/brew,nandub/brew,EricFromCanada/brew,gregory-nisbet/brew,hanxue/linuxbrew,toonetown/homebrew,nandub/brew,EricFromCanada/brew,mgrimes/brew,reelsense/brew,amar-laksh/brew_sudo,DomT4/brew,EricFromCanada/brew,MikeMcQuaid/brew,DomT4/brew,muellermartin/dist,AnastasiaSulyagina/brew,alyssais/brew,amar-laksh/brew_sudo,gordonmcshane/homebrew,rwhogg/brew,rwhogg/brew,sjackman/homebrew,maxim-belkin/brew,reitermarkus/brew,konqui/brew,palxex/brew,claui/brew,gordonmcshane/homebrew,reitermarkus/brew,sjackman/homebrew,ilovezfs/brew,Homebrew/brew,claui/brew,aw1621107/brew,tonyg/homebrew,mahori/brew,MikeMcQuaid/brew,alyssais/brew,maxim-belkin/brew