fixed #26, removed custom mime type sniffing.