Do not crash when a filesystem error is encountered
directory_iterator(path&) will throw if an error happens. Avoid this by using the error_code overload. BUG:437607
directory_iterator(path&) will throw if an error happens. Avoid this by using the error_code overload. BUG:437607