Fix multiple PyObject_SetAttrString() related leaks.