log ioexceptions

closes issue #28