test-bot: mangle non-utf8 characters
python: DRYer paths