Fixed bug: write_graph_to_file now writes blank instead of "null" when pdbCode, pdbChainCode or chainCode are null.