fork of pefile for python 3