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}.