[cctbxbb] Writing a pdb file from an xray_structure object