Quantum storage of heralded single photons in a praseodymium-doped crystal.