title: PepperMount Write operation fails
body: <p>Am trying to store files in NACL using PepperMount library. But I've some problem in writing files to the persistent storage.</p>
  
  <pre><code>struct stat st;
  char data1[1000];
  for (int i = 0; i &lt; 1000; i++)
      data1[i] = 'a';
  
  if(0 == ppMount-&gt;Creat("ccda.txt", 0, &amp;st)) {
      fprintf(stderr, "File opened");
      ppMount-&gt;Ref(st.st_ino);
  
      ssize_t n = ppMount-&gt;Write(st.st_ino, 0, data1, 1000);
      fprintf(stderr, "Wrote %d bytes", n);
  
      ppMount-&gt;Unref(st.st_ino);
  } else {
      fprintf(stderr, "File open failed");
  }
  </code></pre>
  
  <p>I tried it in Pepper_20 and Pepper_21, in 20 it failes in open file, and in 21 it fails in write operation.
  Let me know if this is a known bug or am doing something wrong with my code.</p>