io: replace `File` with `StdStream` for now