Merge rev 669470 - use FileUtils instead of File.toURL - from Ant's trunk

git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/dotnet/trunk@669471 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/org/apache/ant/dotnet/compile/WsdlToDotnet.java b/src/main/org/apache/ant/dotnet/compile/WsdlToDotnet.java
index cf7052d..6225109 100644
--- a/src/main/org/apache/ant/dotnet/compile/WsdlToDotnet.java
+++ b/src/main/org/apache/ant/dotnet/compile/WsdlToDotnet.java
@@ -404,7 +404,7 @@
             }
             if (makeURL) {
                 try {
-                    return file.toURL().toExternalForm();
+                    return FILE_UTILS.getFileURL(file).toExternalForm();
                 } catch (MalformedURLException e) {
                     throw new BuildException(ERROR_NO_URL_CONVERT + file);
                 }