this patch adds an implementation for the pwrite64 syscall and enables it for x86_64, and enables fstatfs for x86_64.