ChangeFileExt
Changes the extension of a file name