Fix bug where vim-gitgutter tried to run for non-files.