Do not allow rename length more than NAME_MAX
This change ensures that user does not provide a very long string in Rename dialog, that is impossible to store in the file system.
This change ensures that user does not provide a very long string in Rename dialog, that is impossible to store in the file system.