I'm not concerned about the overhead of `stat` vs. `isFile`. However, we _don't_ include `stat` with any of the other callbacks, so adding `stat` here is inconsistent. I'm inclined to remove it.

(Side note: `resolve` can be optimized once we start caching `stat` data. We could check the index for existing entries with stat data, and avoid a call to the impl).