Workaround for pyfits < 2.3
(#299)