Small optimization.
readdir instead of readdir_r
I like the heap. No threaded race conditions with internal readdir
buffers.