make sure snippets dir is created if missing