Create artifact proto files atomically

This fixes a race condition between writing and reading artifact proto files.

Merge request reports

Loading