Modified the 'self.write_pdb_file()' function to properly handle the HET records.
Authored by: bugman 2006-11-05
Parent: [r2751]
Child: [r2753]