Fixed a couple of string parsing issues with polhemus.py.