Rename write to write.c