issue #919: remove potentially existing temporary file