Currently the PdbFileFormat class in the pdb plugin only supports reading. Support for writing pdb files also needs to be implemented.