Ensure that the pidfile_path exists.