util.js: Add support for firefox "resource" URIs to resolvePath.