Fixed issue with file:// url and listeners

webpage.onResourceRequested and webpage.onResourceReceived should
be called for 'file://' url, like in PhantomJS