RawFileIO::read now returns number of read chars.