lib/tevent: include replace.h in pytevent.c