Separated reading and writing once more, thanks to changes in
rust-openssl.