git-remote-mediawiki: fix encoding issue for UTF-8 media files