res = aFile->Append(NS_LITERAL_CSTRING("wallet"));
res = aFile->AppendNative(NS_LITERAL_CSTRING("wallet"));
PUBLIC nsresult Wallet_DefaultsDirectory(nsFileSpec& dirSpec) {  nsresult res;  nsCOMPtr<nsIFile> aFile;  nsCAutoString pathBuf;  nsCOMPtr<nsIFileSpec> tempSpec;    res = NS_GetSpecialDirectory(NS_APP_DEFAULTS_50_DIR, getter_AddRefs(aFile));  if (NS_FAILED(res)) return res;  res = aFile->Append(NS_LITERAL_CSTRING("wallet"));  if (NS_FAILED(res)) return res;  res = NS_NewFileSpecFromIFile(aFile, getter_AddRefs(tempSpec));  if (NS_FAILED(res)) return res;    // TODO: Change the function to return an nsIFile  // and not do this conversion  res = tempSpec->GetFileSpec(&dirSpec);    return res;}