Added a check for symlink before exists because grunt.file.exists returns false for symlinks sometimes
Changed to fs.lstatSync because grunt.file.isLink depends on the target of the link actually existing