guess content-type for streaming the same way that _save() does