temp_file: add TEMP_KEEP flag

In some situations, users may want to debug Git by inspecting the
contents of temporary files. Add a flag named TEMP_KEEP for this
purpose; when the flag is specified, files are not unlinked in
rollback_temp_file.

Signed-off-by: Brian Gesiak <modocache@gmail.com>