We only want the first path component to call rimram on it. This could be either a single file or the top-level directory.

The code to set this on the torrent object would be the same.

The other way being repeatedly `path.dirname()` until the first path component is reached, which would not be cleaner.