fix python3 bug in test_brainwaresrcio (bug is only in the test, not the io class)