Add Workaround for File::Temp rt#44924

I originally only discovered it in my branch that uses File::Fetch, because File::Fetch internally uses File::Temp with an implicit relative path, but was requested to suggest this as a stand-alone pull req.

Code with absolute paths passed explicitly to File::Temp::tempdir( DIR => ) are not affected.