Fix for cytoscapeio.py

Fixed an issue where empty lists were causing notes not to be written
to file correctly.