Fix a failure across Python versions with Path.with_suffix