Implement pwrite() for FileDesc