Since in Python 3 the `str` is encoded it must be written as `bytes`.