encore on fixed-pattern replacements
tempfile() now returns a randomized file name