The tfile attribute is really unncessary here, and updated some exceptions to IOError which is more appropriate than whatever they were before.
The tfile attribute is really unncessary here, and updated some exceptions to IOError which is more appropriate than whatever they were before.

git-svn-id: 5305e2c1a78737cf7dd5f8f44e9bbbd00348fde7@981 ed100bfc-0583-0410-97f2-c26b58777a21

embray/PyFITS,spacetelescope/PyFITS,embray/PyFITS,embray/PyFITS,spacetelescope/PyFITS,embray/PyFITS