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