remove TtyStream

that's going nowhere fast. can add it back eventually if it's ever needed
convert file open to newer style Iop

one step towards getting rid of the IoContext class
convert FileWrite to new Iop style

and removed last usage/reference to IoContext. next can add file read
and getline