DirecTV and Fox reach an agreement