rem: function pickSaveAs (title, typeList, defaultFile, defaultDir) 
add: function pickSaveAs (title, typeList, defaultFile, defaultDir, defaultExt) 
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 reason;    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;        futils.lastSaveAsDir = picker.file.parent;    }    else    {        obj.file = null;    }    return obj;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/73262ce6b55b17f5a9b10a65b921bd6f989c0a3e/file-utils.js/buggy/extensions/irc/js/lib/file-utils.js