Minor bug fix preventing correct MIME type.