make the pid directory if needed
Merge pull request #42 from bakins/pidfile

Add pid directory creation into init script.