Fix windows bugs and vimwiki bugs