[io]mrelp: improve error reporting