Fix wrong rejection of uploads from Windows.