function ChangeFileExt(const FileName, Extension: String): String;
Takes the file name passed in FileName and changes the extension of the file name to the extension passed in Extension.