Fix mkdir and rmdir in webfs adapter