server: Use the file_pos_t type for file sizes and offsets in the protocol structures.