modify semantics such that "/" and ".." unifies to "/" (instead of error...

...ing out)

this is very much what POSIX does as well
This is confusingly named now. Perhaps `root_filename`? Or `resolve_filename`?