Add more directory safeguards; add knife.rb and config.rb templates, as well as a plugin.rb cookbook_file.