fix(utils): Find files but not directories

This occured in ploneintranet, where
a directory has a name of something.js
The checker treated it as a file.
Merge pull request #102 from plone/no_directories

fix(utils): Find files but not directories