Changed logging IOException to the configured logger.

Activiti is an amazing framework. This is my first commit. Would like to contribute more often. Please see a change with respect to exception handling. Accept if you think this will add any value.