Measurement ofD meson production in 200 GeV π−-Be interactions