Fixed deep directory creation for command line utility

Tried for solution of jashkenas/coffee-script#2027 using [node-mkdirp](https://github.com/substack/node-mkdirp)