add option to use fs.lstat in replace of fs.stat. defaults to false to stay consistent with api