Despite setting a franchise record with 35 first downs and racking up a season-high 481 yards of offense, the Bills committed 14 penalties and turned the ball over three times, derailing any chance they had at upsetting the first-place Patriots, who narrowly escaped with a 37-31 victory.