Implicit conversion to bytes for Python3.