SMS dit: Synchronizing single photons with quantum memories