ext[34]: fix double put in tmpfile