Unbreak gitdiff by fixing the fd-array creation