use 'stat' if 'lstat' is not available
use 'stat' if 'lstat' is not available

for win32 comp

isaacs/rimraf,xebitstudios/rimraf,isaacs/rimraf,Ivshti/rimraf,PeterDaveHelloKitchen/rimraf,zhangda89/rimraf