Fixes a translation issue where a parameter isn't replaced.

Whenever File::Validate() failed due to an illegal file extension, it printed the translated message without replacing the parameter {extensions}.
Merge pull request #2095 from CheeseSucker/patch-1

Fixed a translation issue for File.INVALIDEXCEPTION