[Pywikibot-commits] [Gerrit] Fix ImagePage exceptions and add file tests - change (pywikibot/core)