Fix FileStub to implement all the new File methods.