Fixed the mime type for the csv output