make UploadImage work on windows