Added file from crashmaster/vim.
Fixed error message due to directory name ended in slash (/).