macro_rules! rwrite { ($dst:expr, $($arg:tt)*) => { ... }; }
write! which retries on EINTR and EAGAIN.