temp_file: remove lockfile flags, suffixes

This completes the separation of lock_file and temp_file logic.
tempfile.c makes no reference to lock suffixes or flags.

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