rm unused imports of re & fnmatch from file state

************* Module salt.states.file
salt/states/file.py:224: [W0611(unused-import), ] Unused import re
salt/states/file.py:225: [W0611(unused-import), ] Unused import fnmatch
Merge pull request #10240 from cvrebert/patch-1

rm unused imports of re & fnmatch from file state