python2.6 compatibility
cgoban test file format compatibility
halfbacked to_txt conversion