Report errors other than ENOENT.
More careful error checking.
Bump version to 0.0.5.

Now doesn't fail silently when given a directory as an argument.