Create less IO errors to improve efficiency of require

In some environment (especially when coffescript is involved) module.js
will spend a lot of time looking up nonexisting files. This is caused by the
lengthy error creation. Those errors are then immediately caught.

This change makes the lookup much faster, by avoiding the unnecessary error
creation.

module::statPath now uses the new second parameter of fs.statSync function of the
fs.js. There is a similar change for the fs.stat, adding the third parameter.
I'm afraid I don't see how to create less closure without copying the body of the `cb` into the body of the first `if` statement. We can make the `cb` function a variable, but it will have to be defined at the beginning.