diff -r a27d41a0ee62 -r 47ae52d1c868 bin/extract.py --- a/bin/extract.py Tue Sep 21 17:30:38 2010 +0300 +++ b/bin/extract.py Mon Oct 04 16:52:48 2010 +0300 @@ -87,7 +87,7 @@ outfile = os.path.join(outpath, name) # overwrite only if different size if not os.path.exists(outfile) or os.path.getsize(outfile) != len(data): - file = open(outfile, "w") + file = open(outfile, "wb") file.write(data) file.close()