implemented: https://github.com/audreyr/cookiecutter/issues/127

generate_file() ignores the creation of file if its filename is empty.