Fix #2959 file validator encode filename

Fix #2959 CFileValidator fixed to encode file name, while composing error messages