qio: add a few block helpers