[ticket/12268] Use FilesystemIterator::SKIP_DOTS

PHPBB3-12268
[ticket/12268] Do not search in folders starting with a dot

PHPBB3-12268