This is still racy, but on a much small windows. In addition, the API now make
it possible for it to not be racy. This also unlock other cleanups that we are
also unlock other cleanups that we are about to doabout to do regarding mtime ambiguity at gathering time.