Fix plugin for coverity 4.2+.

The JavaFile.fromIOFile() now throws an exception, must use File.fromIOFile() instead.