Replaced grunt.file.expandFiles by grunt.file.expand({filter:'isFile'}),
see gruntjs commit b60907b7b07065a41325cd8a185d1a478b69f25a.