Make sure file is not a directory before running readFileSync
Merge branch 'master' of github.com:horte/ace-browserify