fn file_offset_to_raw_offset(offset: Option<u64>) -> u64