IOError instead of FileNotFoundError for Python<3.3