Move more filesys code into FILESYSTEMS/filesys_stdio.h
Add mount-mode checking to FILESYSTEMS/filesys_stdio.h