Fix hxtool eating backslash sequences for sh != bash

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6946 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/hxtool b/hxtool
index 49b722b..885abe2 100644
--- a/hxtool
+++ b/hxtool
@@ -10,7 +10,7 @@
             STEXI*|ETEXI*) flag=$(($flag^1))
             ;;
             *)
-            test $flag -eq 1 && echo "$str"
+            test $flag -eq 1 && printf "%s\n" "$str"
             ;;
         esac
     done