Fix to cookiecutter(), with test.