Fix Python3 dup header handling.
Fixes isse #229.
4 files changed