de9e599c9d
<Michael.Eriksson@era-t.ericsson.se> to ensure we always remove the tempfile (broken since mkstemp() was introduced).