Set the right mime type