give a better error message in the non-threaded RTS for out-of-range FDs