diff -r 04c2b8b41385 -r b0dcc1e3397c extensions/updater/extension.cpp --- a/extensions/updater/extension.cpp Sat Feb 28 23:15:23 2009 -0500 +++ b/extensions/updater/extension.cpp Sun Mar 01 01:18:09 2009 -0500 @@ -153,7 +153,7 @@ else { smutils->BuildPath(Path_SM, path, sizeof(path), "gamedata/%s", part->file); - FILE *fp = fopen(path, "wt"); + FILE *fp = fopen(path, "wb"); if (fp == NULL) { AddUpdateError("Could not open %s for writing", path);