fix pyfits2string.fits2string that returned incorrectly padded output