I agree that would be a terrific solution at the root of the problem. But it
is a big change and may be too far in the future.
A quicker but effective solution could be some special processing on the
post event of the upload file form, "cleaning" the file name. This could be
conditional so it would not affect UNIX installations.