timemodule.c: Replace PyExc_IOError with PyExc_OSError