Earlier, these look like URL paths rather than filesystem paths. If they're URL paths, you need to join with `'/'` explicitly.