fix use of 'b' vs 'batch', thus fixing the mkdir bug.
Merge pull request #1 from devilmonastery/master

fix use of 'b' vs 'batch', thus fixing the mkdir bug.