rename command was not working properly due bad subdirectory comparission, Fixes #70