add write_ascii.py