fix:runtime crash when upload file to Mac/Win32