IDEX-1397: save permissions when rename vfs item
remove usage of deprecated code