Sounds like a problem with getyarn.io. Have you asked them why they use what you describe as the wrong mime type?