CLoses #35: Use nsIURL to extract filePath and query parts of the url