rem: SetUnicharPref("editor.lastFileLocation."+fileType, filePicker.file.parent.URL); 
add: var ioService = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService); SetUnicharPref("editor.lastFileLocation."+fileType, ioService.getURLSpecFromFile(filePicker.file.parent)); 
context: function SaveFilePickerDirectory(filePicker, fileType){  if (filePicker && filePicker.file && filePicker.file.parent)  {    SetUnicharPref("editor.lastFileLocation."+fileType, filePicker.file.parent.URL);  }  // Restore the directory used before SetFilePickerDirectory was called;  // This reduces interference with Browser and other module directory defaults  if (gFilePickerDirectory)    filePicker.displayDirectory = gFilePickerDirectory;  gFilePickerDirectory = "";}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3d9e878c3473df2bdd78d84808b8168ac005e5aa/editorUtilities.js/clean/editor/ui/composer/content/editorUtilities.js