Wrapped directory decorator in a try/finally