Handle differences in Numpy dtype strings.