Use file locks to ensure safety when being installed in a parallel environment