Fix fd leak with appledouble = v2