John Mueller of Google said that your robots.txt content-type can be anything really. He said "any content type is fine," adding "the important part is the content itself."...
-
Google: Robots.txt Can Be In Any Content Type
seroundtable.com