Fix PEP8 violations

Fixes a couple pep8 issues in the bash8.py script
and some files from the cookiecutter template.

Change-Id: Iaa67e513b6f02cfdb97d0b87ca0f29db1ef51b29