PY3: make NIML parsing and the unit tests py3 compliant