Fix Path.remove and Path.rmtree for symlinks.