level scanner: use fs.lstatSync() instead of statSync() to not fail on symlinks (BEM-1050)
Merge branch 'BEM-1050' into release-1.0.0