std: Fix using fs.Dir.Iterator twice

This fixes the use of multiple `Iterator`s in a row on a directory.
Previously, on many platforms, using an `Iterator` on an
already-iterated directory would give no entries.

Fixing this involved seeking to the beginning of the directory on the
first call of `next()`.
dc11fe4047ominitay committed on 1/28/2022, 4:12:05 PMparentc3ef85a
2 files changedLine totals unavailable