Add support for the __bytes__() magic method