dtoc: Convert the Fdt.Node class to Python 3