Use '>|' redirect for file created by mktemp.
The file exists and is guaranteed to be empty. Previously, this failed if noclobber was set.