No need to do this.  sbt.File == java.io.File.