A proof of Andrews' q-Dyson conjecture