fs: remove superfluous type check in `_write()`
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
fs
Description of change
Type checking is already performed on the streams
level, so this check could never actually fail.