Conductor uses tie to rescue dog on train tracks