checkout: Use fd-relative open of newly created directory

We were walking the full path again on our directories, no need to do
that.