Added logging to IOErrors; Fixed print() format. - v. 0.97.

Added logging to IOErrors; Fixed print() format. - v. 0.97.