fixing RestoreMaildir