Make RawFile::read conside the difference between the return type of std::ifstream::tellg() and the second parameter of std::ifstream::read()