Add mprWriteCmdBlock for blocking I/O