fixed one 2to3-bug in thirdparty.cogent