Path join used in replace to work across OSes