Update lib/File/FileIterator.php

Fixed bug with empty folders (caused infinite loop)
Added max depth