downloaded::download(..., mode="wb") works fine on Windows.