fix a bug where hg could remove file ending with .tmp
util.opener used a fixed filename for writing tempfile
instead of using the tempfile module.
#header#
<title>#repo|escape#: #file# history</title>
<link rel="alternate" type="application/rss+xml"
href="?fl=0;file=#file#;style=rss" title="RSS feed for #repo|escape#:#file#">
</head>
</head>
<body>
<div class="buttons">
<a href="?cl=tip">changelog</a>
<a href="?tags=">tags</a>
<a href="?f=#filenode|short#;file=#file#">file</a>
<a href="?fa=#filenode|short#;file=#file#">annotate</a>
<a type="application/rss+xml" href="?fl=0;file=#file#;style=rss">rss</a>
</div>
<h2>#file# revision history</h2>
#entries%filelogentry#
#footer#