fix wrong reference in docs

Previously, `export_loop` lived in `serialize.py`. But know, it is in `transforms.py`. Respect it in docs.