Implement stat call on MemoryFS.
Implement chmod on MemoryFS.
Respect MemoryFS writebale file permission.