Py3-compatible synatx in gomill module
Fix remaining Py3-incompatible syntax