Updated to have latest sanitize_path() calling syntax.