Added IOError to _create_logger

OSError thrown by root
IOError thrown by else