Whenever supply a directory to utime path parameter, exception raised. The problem is MS C run time library utime function only works on files, but not directories. To fix this bug, MS utime has to be replaced by some function that works with directory.
Moved to PEP42, as extending the functionality of the platform utime is a new feature rather than a bug. This is a borderline case, so my intent here is not to reject it out-of-hand for the next 2.0 beta, but to classify it as correctly as possible.