Add File.java to forbidden APIs

This commit cuts over all of core (not quite all tests) to java.nio.Path
It also adds the file class to the core forbidden APIs to prevent its usage
Although this is some kind of hidden feature, there might be people relying on us following links here... I'd open a separate issue if we want to remove it to give people the chance to speak up if they need it.