[sanitizer] Intercept scandir/scandir64.