Index: node_export.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/node_export/Attic/node_export.module,v
retrieving revision 1.1.2.20
diff -u -r1.1.2.20 node_export.module
--- node_export.module	18 Feb 2010 02:23:38 -0000	1.1.2.20
+++ node_export.module	23 Feb 2010 11:56:08 -0000
@@ -201,7 +201,8 @@
   header('Content-type: text/plain');
   header('Content-Disposition: attachment; filename="'. $name .'"');
   print($node_code);
-  drupal_goto($_GET['q']); // This may not seem like it does anything, but trust me on this.
+  module_invoke_all('exit');
+  exit;
 }
 
 /**
