Typo in error handling

IOError vs. IOErrror
Merge pull request #1 from dl3yc/patch-1

Typo in error handling