bottle: fix nonexistent pyc bug
bottle: fix nonexistent pyc bug

We were deleting pyc files *after* replace_locations_with_placeholders
and recording changed_files, meaning that some of the recorded files
were to be deleted. The correct order is the opposite.

A sample failed session: https://bot.brew.sh/job/Homebrew%20Core/10080/version=el_capitan/testReport/junit/brew-test-bot/el_capitan/bottle_buku/.

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