Single photon transport by a moving atom