Adding chmod and chtimes support.
Adding proper open support for memfile
MemDir now reports a size