ModeToKeyType
header->data_type = HOST_ENDIAN_TO_BFS_INT32(ModeToKeyType(stream->Mode()));
static int32 ModeToKeyType(mode_t mode);