print 'write' line before file descriptor list