Resize input field during Rename operation on a tree node

This fix resizes the input field during the rename operation on a tree node (either File or Directory)

cc @dangoor