fixes default values for logFile and errFile when not defined
Merge pull request #10 from cezary/master

fixes processes not starting when logDir set