Update to tern with getfile fixes