Fix log printing on UnicodeDecodeError and OSError exception
Merge branch 'master' of github.com:iemejia/catho