Creates log directory if non-existant.