ENH: Make transform writing mutually exclusive

Writing composite or non-composite transforms needs
to be mutually exclusive in the new version of
ants.