versions: add bottle filenames method.
versions: add bottle filenames method.

Closes Homebrew/homebrew#22727.

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