update encoder-resilient log print functions for py 2.7 compatibility
update encoder-resilient log print functions for py 2.7 compatibility

sternshus/Arelle,sternshus/Arelle,sternshus/Arelle,sternshus/Arelle,sternshus/Arelle