some clean up
This patch series contains three things:
- continuation of purging unused SFIO stuff;
- make the macOS CMake build warning-free; and
- some rtest clean up
We can't properly test it until the Windows CI runners are back up, but I thought I'd post it for review anyway.