fix brittle test under File::Temp <= 0.20