dtbdump works with python 3
Fixed detection of string nodes for python3
Remaining python3 compatibility issues fixed; all tests pass