Make sure we handle PE properly.
Merge pull request #228 from apenney/add-pe

Make sure we handle PE properly.