Bug #678: Startup should create dir for pid file if it does not exists