Got rid of the unused symlink parameter to sanitize_path().