Fixing qt plugins (duh) and codesigning on OSX 10.9
diff --git a/contrib/osxdist-10.9.py b/contrib/osxdist-10.9.py
index 5ce43fe..e9a6352 100755
--- a/contrib/osxdist-10.9.py
+++ b/contrib/osxdist-10.9.py
@@ -183,7 +183,7 @@
 
             try:
               f=open("%s/Resources/Info.plist" % dst, 'w')
-              w.write('''<?xml version="1.0" encoding="UTF-8"?>
+              f.write('''<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>