Also remove unused func `newTempFile` and prevent a possible deadlock between pull_v2 `attemptIDReuse` and graph `register` Signed-off-by: Antonio Murdaca <runcom@redhat.com>