Use the new calling syntax for sanitize_path().