Fixed bug where directory iterators would fail on a non-extant path