Set isDir to false for non-existant directory

The PR for issue #45 resolves problems for `readdirRecursive`, but not for `readdirRecursiveSync`. This patch sets `isDir = false` when a directory cannot be found, effectively ceasing further processing.
Merge pull request #81 from coreybutler/patch-1

Set isDir to false for non-existant directory