sequence.py, sequence_io.py: Rename sequence write function