dir: dtest should flush on error when creating directories