fixing recent code quality issues
add AttributeError exception to what's caught from pefile
add AttributeError exception to what's caught from pefile
Merge pull request #151 from SuperCowPowers/code-quality

fixing recent code quality issues