File.join should be used here to build paths. I know there are inconsistencies with this in the codebase.