Create empty PID file before dropping privileges.

This solves problem when PID file needs to be created in a directory
where only root can write, but the user can enter.

Change-Id: I357ece2d36574931850e366573b10dcd64c9482a