Fixed delete bug, re-added mkdir api. Should now be fully compatible