Use "cd" instead of "Dir.chdir"
Use "cd" instead of "Dir.chdir"

* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks

dguyon/homebrew-php,philcook/homebrew-php,ablyler/homebrew-php,mkalkbrenner/homebrew-php,TomK/homebrew-php