Study of charge distribution in a dust beam using a Faraday cup