Fix +ks_URLWithPath: to respect adding directory terminator again
Got accidentally removed in bf5d8bfae0925d85075d50499d01b0f48acd925f