RF: some python 3 fixes for par / rec stuff

numpy strings expected to be bytes, not strings.

Files must get opened with binary flag.