wscript: something is still fishy with wscript and html.qrc, but this commit semi-solves the fishyness

Change-Id: Idfcaba4a8c9a1e6d512510649ccce44e1ffa2afe
diff --git a/wscript b/wscript
index db59320..d3f566a 100644
--- a/wscript
+++ b/wscript
@@ -299,12 +299,14 @@
 
     def run (self):
         out = self.outputs[0]
-        out.write('<RCC>\n    <qresource prefix="/">\n')
+        bld_out = out.get_bld ()
+        src_out = out.get_src ()
+        bld_out.write('<RCC>\n    <qresource prefix="/">\n')
         for f in self.inputs:
-            out.write ('        <file>%s</file>\n' % f.path_from (self.base_path), 'a')
-        out.write('    </qresource>\n</RCC>', 'a')
+            bld_out.write ('        <file>%s</file>\n' % f.path_from (self.base_path), 'a')
+        bld_out.write('    </qresource>\n</RCC>', 'a')
 
-        out.get_src ().write (out.read(), 'w')
+        src_out.write (bld_out.read(), 'w')
         return 0
 
 @Configure.conf