One more fix for pidfiles.