only using FileContext.rename on directories