put one more barrier to locking of first pid file.

for systems which lack support of "x" in fopen mode