Use temp file to save metadata for readonly file

I think there is a utility in Palaso that will get a temp file with a specified extension, like TempFile.WithExtension but without (I hope) returning an object to be disposed. It would be good to use this (because of the small chance that simply changing the extension will produce a name that clashes with an existing temp file).