Send the correct MIME type from /file/id/data