It wasn’t pretty, but the Buffalo Bills moved to 7-2 on the season following a 30-27 win over the Miami Dolphins.