Added a directory iterator like the one from phobos.