Util: fix BaseName() which should remove the file extension

+ Update unit tests for AddSlashes command, we want same on Win/Linux