rem: if (rv != PICK_CANCEL) 
add: try { reason = picker.show(); } catch (ex) { dd ("caught exception from file picker: " + ex); }  var obj = new Object();  obj.reason = reason; obj.picker = picker;  if (reason != PICK_CANCEL) { obj.file = picker.file; 
context: function pickSaveAs (title, typeList, defaultFile, defaultDir){    if (!defaultDir && "lastSaveAsDir" in futils)        defaultDir = futils.lastSaveAsDir;        var picker = futils.getPicker (defaultDir, typeList,                                    {defaultString: defaultFile});    picker.init (window, title ? title : futils.MSG_SAVE_AS,                 Components.interfaces.nsIFilePicker.modeSave);    var rv = picker.show();        if (rv != PICK_CANCEL)        futils.lastSaveAsDir = picker.file.parent;    return {reason: rv, file: picker.file, picker: picker};}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/45c353e9aa1e6f3520b887db284ca8c0d9f4389f/file-utils.js/clean/extensions/venkman/resources/content/file-utils.js