Safe filepath processing at new torrent content selection
REVIEW:130052
Allows to get non empty name for directory path with trailing slash.