rename tmpfile stampfile