Import: Move result-file write outside users-loop. Refs #137.