really create the specified pid file

Change-Id: I98eecdfe89fbf221b0a2ed611048443081fabf24