More Python 3 compatibility fixes for test_skll.