Spiral shocks on a Roche lobe overflow in a semi-detached binary system