Finish version of listdir (listdir2) that uses ScandirIterator.