Fixing qio_channel_revert_unlocked_error. Funnily enough, the error was being caused by bad error handling in curl_preadv