Feature #2746: Fix files chtype