Fix pep8 errors

A new version of pep8 has been released which is stricter about
enforcing certain rules.  This makes minor changes across the source
tree to correct these complaints.