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.