Fix finalize_logger handling
Initialize and finalize logger on BaseStaticSiteRenderer

This avoids an exception in Python 2.6 upon exiting caused by the still-active
QueueListener thread.