Get the file extension from the vfn. This makes extension-based linting (gs.on-lint.go) work in on-saved views.