Fixing download of file for windows systems. The default way is too limited.