pub fn write_serialized_string<T: Serialize, W: Write + Write>( writer: W, value: &T, file_type: FileType, ) -> SerResult<()>