Forgot to close the fid in scores2csv