improve cache.vim, webapi.vim: create directory only on saving