Forgot to call flush after CSV write