It wasn't pretty, but Bills improve to 3-0 in preseason with 24-20 win over Lions