Make Windows directory restores work.