San Diego St routs Buffalo 49-24 in Potato Bowl