DiskIo.setReadOnly now modifies only the write bit

Previously it set the entire mode to either just read or just write.
This meant all the other mode flags were lost.