Fix Jasmine results linkerization to handle Mac file:// URIs, which oddly
include a "localhost" prefix despite file: URLs having no host.