- fixed conditional import for pep8 checker
- moved the import to a conditional python 3 import instead of a global
  one, since that seems to be the original intent. Addresses #1900
Merge pull request #2621 from aspidites/pep8_checker_fix

Pep8 checker fix