virtual filesystem mkdir function