Fix formatting of unusual unit bases.
Merge pull request #2798 from mdboom/unit/obscure-roundtrip

Originally valid FITS unit cannot be formatted