make event emitter __dict__ a copy in __getstate__