nsOutputFileStream *fp = new nsOutputFileStream(*fname);
nsOutputFileStream *fp = new nsOutputFileStream(*fname, PR_WRONLY | PR_CREATE_FILE, 00600);
void printVObjectToFile(nsFileSpec *fname, VObject *o){#if !defined(MOZADDRSTANDALONE)  nsOutputFileStream *fp = new nsOutputFileStream(*fname);  if (fp) {    printVObject(fp,o);    fp->close();  }#else  PR_ASSERT(FALSE);#endif}