Split logs into dated directories, closes #47