Remove the annoying global cleanup list.

&with_cleanup_list(&) instead wraps another function and supplies
it with a cleanup list that it maintains.

This means that intermediate files are removed far more eagerly
than before; as soon as a single encode is complete.  This has
the added advantage of not littering the filesystem with large
intermediate artifacts during a batch encode of multiple episodes.