fix Notice: Undefined variable: dir in /home/marcio/P/phpbrew/src/PhpBrew/Downloader/UrlDownloader.php on line 32
adapt ExtensionInstaller to the new UrlDownloader api