Fix conversion issues in iostreams/src/mapped_file.cpp