Interaction of a supersonic plasma stream with a dipole magnetic field