changing write.c in mfs