GUVNOR-2138: GuvnorM2Repository: Potential concurrency temporary file name clash

(cherry picked from commit 58e9283b0c7a125ef00b7e939c2cf4110863e366)