more robust install script

- clean output path before downloading
- remove fstream dependency
Merge branch 'master' of github.com:vvo/selenium-standalone