change path usage to filepath

converts usage of `path` to `path/filepath` for OS dependent resolution.