Fixes downloads on Windows by using binary mode.