Make File STDIO use IOStream instead of FS.File

Fixes #4131