main/smokeping: use checkpath to create dir for pidfile