Fix RawFile<T>::read() strict typing

Make RawFile::read() consider the difference between the return type of std::ifstream::tellg() and the second parameter of std::ifstream::read()

Maybe this is because I tried it on a 32bit Ubuntu (yep.).