py3k compatibility fix in LdaMulticore