NFS: Move the pnfs write code into pnfs.c