Ensure path names are converted correctly.