Peralta has 3 RBIs and Tigers top Astros