Flush stderr after write.
stderr can be buffered under win32 when redirected to a file,
including stdout.
header = header.tmpl
footer = ''
changeset = changeset.tmpl
difflineplus = '#line#'
difflineminus = '#line#'
difflineat = '#line#'
diffline = '#line#'
changesetparent = '# Parent #node#'
changesetchild = '# Child #node#'
filenodelink = ''
filerevision = '#rawfileheader##raw#'
fileline = '#line#'
diffblock = '#lines#'
filediff = filediff.tmpl
fileannotate = fileannotate.tmpl
annotateline = '#author#@#rev#: #line#'
manifest = manifest.tmpl
manifestdirentry = 'drwxr-xr-x {basename}\n'
manifestfileentry = '{permissions|permissions} {size} {basename}\n'