fix up renamefd() as best as we can given the current code
structure and document remaining problem areas assocaited
with the rename op.