scheme: use the first line as a MIME type