Fixed a translation issue for File.INVALIDEXCEPTION

Whenever File::Validate() failed due to an illegal file extension, it printed the translated message without replacing the parameter {extensions}.