Text this: Measurement of charm fragmentation ratios and fractions in photoproduction at HERA