Support GNU's `mktemp`

GNU’s `mktemp` requires the template to contain placeholder characters.