scripts: repo_update: Avoid os.DirEntry for compatibility with Python 3.5.
scripts: repo_update: Avoid os.DirEntry for compatibility with Python 3.5.

thpatch.net is still stuck on that, and who knows how many third-party
modders we'd have to annoy by forcing them to update.

thpatch/thcrap,thpatch/thcrap,thpatch/thcrap,thpatch/thcrap,thpatch/thcrap