Tasklogs

This provides infrastructure and APIs for handling the individual logs created when running tasks.
I'd enclose `send_file` in `try: except <proper exception>` instead.  It will be less prone to race conditions lower level file system discrepancies.