The Photoproduction of Charged Pions from Deuterium