fix sendFile deprecated message.