fixed the bug that if g:vimshell_data_directory was set to ~/.vim/.cache/vimshell,
it will mkdir an '~' direcotery under each direcotery where vim was executed.