This was a regression due to unicode_literals usage. Thanks Ivan Virabyan for the report and the initial patch.