ADI export script (bug 1014752)

Fixes [bug 1014752](https://bugzilla.mozilla.org/show_bug.cgi?id=1014752)
OK, I understand now that YieldedCursor comes yielded itself, and so the fetch method is run more than once per call.