put one more barrier to locking of first pid file.
for systems which lack support of "x" in fopen mode
Merge pull request #6 from mk01/master-curly

put one more barrier to locking of first pid file.