Use ftdetect directory for setting filetypes.