Python 3 compatibility (or at least correct syntax) for mediawikimport c...

...ommand