Fixed a bug with hanging Vim when loading files.