Handle paths correctly, append slash (/)