Tangelo attempts to create the logfile directory if it does not exist, and prints an error message if something goes wrong

Closes #246
Merge branch 'create-logdir'