Self-induced thermal distortion in the near field for a laser beam in a moving medium