IDEA-116809 File Types: reassigned wildcard between predefined file types is not preserved upon restart
(cherry picked from commit 4e4e47b)