fileutils: use rm_rf to clean temp dir
fileutils: use rm_rf to clean temp dir

Honestly, I don't know why git is broken under sandbox. But this seems
fix the problem in Homebrew/homebrew#38978.

Closes Homebrew/homebrew#39138.

Signed-off-by: Xu Cheng <9a05244150b861e40c78843b801eed71bca54eac@me.com>

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