During stos scaling, if we had to generate the meta-data clear any old transforms so the are also regenerated.
Return a failure code if we were unable to generate a stos file