Add directory support to extsavedata.