set RIOMap->flags on r_io_reopen