Improve readv and writev clones to be atomic