Firefighters rescue dog from smoke-filled house