Alexandre Julliard : cabinet: Fixed fd leak in case of error.