[DF-5253] Windows project and compilation fix.
[DF-5253] Fixed unexpected file error for windows. Fixed download progress at download resuming again right way.