Make compatible with pyfits > 3.0

https://code.google.com/p/python-sao/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary&groupby=&sort=&id=9