Added write() syscall