I20221219-0820
- handle name collisions where one file is located in root by prepending
the root path ('/' on Unix systems, '<drive letter>:\' on Windows
systems)
- remove special handling when not all colliding files
share the same parent folder structure
- this simplifies the code
- removes the need to also handle the special case where a file is
located in root
might be related to #487