make rmdir recursive for mappellocal storage backend

Backported from d051d6f9252de915a13e1b053c54f69bcd83f5ee