remove null characters from hdfstruct.py printing