Ensure a suspect file is actually a file

…and add some comments around the nested logic for readability.

see: https://github.com/jmreidy/grunt-browserify/pull/83/files#L13R117