OSError instead of FileNotFoundError for Python2.