Suppression of Two-Stream Instability by Beam Modulation