Baryon Production and the Charmed Quark Fragmentation Function