rem: alert(calendarStringBundle.GetStringFromName( "unableToWrite" ) + aFilePath ); 
add: alert(gCalendarBundle.getString( "unableToWrite" ) + aFilePath ); 
context: function saveDataToFile(aFilePath, aDataStream, charset){   const LOCALFILE_CTRID = "@mozilla.org/file/local;1";   const FILEOUT_CTRID = "@mozilla.org/network/file-output-stream;1";   const nsILocalFile = Components.interfaces.nsILocalFile;   const nsIFileOutputStream = Components.interfaces.nsIFileOutputStream;   var localFileInstance;   var outputStream;      var LocalFileInstance = Components.classes[LOCALFILE_CTRID].createInstance(nsILocalFile);   LocalFileInstance.initWithPath(aFilePath);   outputStream = Components.classes[FILEOUT_CTRID].createInstance(nsIFileOutputStream);   try   {      if(charset)         aDataStream = convertFromUnicode( charset, aDataStream );      outputStream.init(LocalFileInstance, MODE_WRONLY | MODE_CREATE | MODE_TRUNCATE, 0664, 0);      outputStream.write(aDataStream, aDataStream.length);      // outputStream.flush();      outputStream.close();   }   catch(ex)   {      alert(calendarStringBundle.GetStringFromName( "unableToWrite" ) + aFilePath );   }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0f4889277ea2d47b71158b50d6b917786f8422b8/importExport.js/buggy/calendar/resources/content/importExport.js