use choice type in file_integrity

Especially useful for DC UI.
Needs backport/cherry-pick to 3.5.x before Enterprise 3.5.1 release (after DC UI is tested and fine with it).