Fix example generator bug where mkdir failed
Merge pull request #226 from jdreaver/master

Fix example generation