fixed python2 unpacking of the extended header string to list of ints