Use different XmlUtils method for backwards compatability

This method does not exist in the currently checked in version in google3

This is the only thing missing for us to be able to correctly setup dependendencies

Change-Id: I4a207a623e6920685b8e50198b737cf1ac94eb4c
diff --git a/src/resourceshrinker/java/com/android/build/shrinker/usages/ToolsAttributeUsageRecorder.kt b/src/resourceshrinker/java/com/android/build/shrinker/usages/ToolsAttributeUsageRecorder.kt
index 3d0dc6f..0dae39a 100644
--- a/src/resourceshrinker/java/com/android/build/shrinker/usages/ToolsAttributeUsageRecorder.kt
+++ b/src/resourceshrinker/java/com/android/build/shrinker/usages/ToolsAttributeUsageRecorder.kt
@@ -62,7 +62,7 @@
 
     private fun processResourceToolsAttributes(path: Path): Map<String, String> {
         val toolsAttributes = mutableMapOf<String, String>()
-        XmlUtils.getUtfReader(path).use { reader: Reader ->
+        XmlUtils.getUtfReader(path.toFile()).use { reader: Reader ->
             val factory = XMLInputFactory.newInstance()
             val xmlStreamReader = factory.createXMLStreamReader(reader)