Fix plugin for coverity 4.2+.

The JavaFile.fromIOFile() now throws an exception, must use File.fromIOFile() instead.
The API was deprecated (but still working in 4.2), and has been removed in 4.3.