Create log directory if necessary.
Merge pull request #2 from malcyL/malcyl-create-log-directory

Create log directory if necessary.