added an exception to convert_fits_header_to_dictionary in fitstools to not barf when the fits file is corrupt