Implement Node.__bytes__ for Python 3