utils: use string arg to IO.popen.
utils: use string arg to IO.popen.

Closes Homebrew/homebrew#49882.

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