Use "/" at directories and simplify path building