Fix issue 6282

This value needs to be bytes on Python 2.