Fix unhandled exception when trying to create torrents from files/folder in disk root.