Updates to psrfits reading code from S. Ransom.

Fixes some compatibility issues with guppi. Better conformance to
psrfits standard.