Update search.py

sanitize file name to avoid write error in somes specials cases
Merge pull request #297 from GaetanCambier/patch-5

Update search.py