A New Proof of the Bahadur Representation of Quantiles and an Application