issue #2, adding the IO exception. Since this is a breaking change, version number changed to 1.1