Open never checked the HTTP status of the download, so when the URL endpoint answered with an error such as 404 or 502 the error page was returned as the contents of the file. Return an error for anything but 200 and 206. Also build the request with the context and send it with the rclone HTTP client, so that cancellation, timeouts, proxies and the other HTTP options apply.