616478 Fix xmllint shell write command

The current node wasn't passed down !
diff --git a/debugXML.c b/debugXML.c
index 415889a..c26217a 100644
--- a/debugXML.c
+++ b/debugXML.c
@@ -2941,7 +2941,7 @@
 		xmlGenericError(xmlGenericErrorContext,
                         "Write command requires a filename argument\n");
 	    else
-		xmlShellWrite(ctxt, arg, NULL, NULL);
+		xmlShellWrite(ctxt, arg, ctxt->node, NULL);
 #endif /* LIBXML_OUTPUT_ENABLED */
         } else if (!strcmp(command, "grep")) {
             xmlShellGrep(ctxt, arg, ctxt->node, NULL);