Locust test writes to file.