Changed to fs.lstatSync because grunt.file.isLink depends on the target of the link actually existing