Add annotation for `java.io.File.toPath()`

This fixes the `IdeaJdkAnnotationsReflectedTest` test case on jdk7.