nfs4: fix few issues related with file caches
 * update metadata cache when writing to cache
 * do not limit size of a io request
 * minor checks in Inode::Write