check.cmd: add tests for io/freopen.c and io/setmode.c

    modified:   check.cmd
check.cmd: ignore error messages of del

    modified:   check.cmd