Support passing of flags to RecursiveDirectoryIterator