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> Upstream-commit: f6577be1c93150149c291f9d18375d7bcae9ebb1 Component: engine