Fixes a race where two template imports finishing at the same time with identical module archives fail one of them on `files_hash_created_by_key`.
Fixes a race where two template imports finishing at the same time with identical module archives fail one of them on `files_hash_created_by_key`.