fix typo in making pidfile dir