Fire rips through family's barn, kills 17 horses