ide: use do_rw_taskfile() in flagged_taskfile()