fixed docs for write.mach