Catch and emit error in readdir
Merge pull request #95 from oconnore/error-catch

Catch and emit error in readdir