Rename crmStripAlternatives function and its friend CRM_Utils_String::stripAlternatives
It's not used much at least in core, and it's not clear from the name what it does, and there's potential for it to be mistaken as a security function.
I'd suggest something like getFirstEmailMultipart or stripAlternativeEmailMultiparts.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information