Use PurePosixPath instead of Path