make IOError not OSError