Bug fixes and improvements to PDBxFile