Fix, hopefully, a fd leak in the old gold