Moved away from File::Temp, generating fixed-name tempfiles that are removed after usage