fixed dir.FirstFile not scanning directories bug