Don't process dotfiles

This commit makes it so that not only files
but also folders which start with a dot
are ignored.

Fixes #239

I basically just renamed `ignoreDotFile` to `isNonProcessablePath` to be more generic and allow broader use. Then I extended the path check that was already in place.