Fix PDB file parsing in Python 3.