Family's house catches fire, stranger comes to their dog's rescue