Improve support for `file:` schema.

Very useful for Cordova / Phonegap:

Auto-detect `file:`s in router and disable push state by default for it.

No way to test this afaik. I did manual tests and it works.