AFAIR -  basename has different on Windows due to UTF-8 and different directory separators