Move strftime into a separate file.

This so we can avoid a circular reference when using it in catcierge_log.c