Fix joining of unicode and byte strings in python3