Filter with grunt.file.isFile in a more reliable way. Fixes GH-28.