PY3+RF: write support for NIML in py3k