Bugfix: generateForDir() didn't fire callback in cases when no files were processed, or directory could not be read
Merge pull request #12 from mmacmillan/master

Added additional handling to generateForDir() to support serial/parallel execution