If your web server is running on a Windows OS, uploads of binary files will be corrupted. This can be fixed by adding a line to the SaveUpload() function. Right after the line
open UPLOADFILE, ">$UploadDir$filename";
add the line
binmode UPLOADFILE;
And a question: why isn't the return status of the open() checked? You might consider what can happen if it fails...
Oops, I didn't even notice WikiBugs/FileUploadManglesFile, even though I looked for such a page. --DavidWall