Handle paths with spaces