Replacing placeholder in paths with ParamsReplace