accept vnd.github.raw as text in File.fetch()
porting parse from models.js to File.parse()