python3 - replace 'unicode' with 'str'